import React, {
	Component
} from 'react';
import {
	Flex,
	Icon
} from 'weaver-mobile';

export default class Alert extends Component {
	render() {
		const {
			type,
			msg
		} = this.props;

		return (
			<div className='hrm-no-authority'>
				<Flex justify="center" align="center" direction="column">
					<Icon type={type} size='lg'/>
					<p>{msg}</p>
				</Flex>
			</div>
		);
	}
}